<template>
  <OrderInboundForm :id="id" />
</template>
<script setup name="innerInboundForm">
import { useRoute } from 'vue-router'
import OrderInboundForm from '@/views/sourceManage/orderInbound/orderInboundForm'
const route = useRoute()
const { type } = getCurrentInstance()
let id = ref(null)
watch(
  () => route.query.id,
  () => {
    if (route.query.id) {
      id.value = route.query.id
    }
  },
  {
    immediate: true
  }
)
</script>
